package chapter;

import java.util.HashSet;
import java.util.Hashtable;

enum Nations 
     {China,American,Japan,England,Fance,German,Newzeland,Korea,Russia,UK};

public class HashCodeTest
{
	public void hashcodemethod()
	        {
		    Hashtable hashtableKV=new Hashtable();
		  
		    	
		    hashtableKV.put("1", Nations.American);
		    hashtableKV.put("2", Nations.China);
		    hashtableKV.put("3", Nations.England);
		    hashtableKV.put("4", Nations.Fance);
		    hashtableKV.put("5", Nations.German);
		    hashtableKV.put("6", Nations.Newzeland);
		    hashtableKV.put("7", Nations.Japan);
		    hashtableKV.put("8", Nations.UK);
		    hashtableKV.put("9", Nations.Russia);
		    hashtableKV.put("10", Nations.Korea);
	    	
		    	
		    }
	public void hashsetmethod()
	{
		HashSet hashsetHS=new HashSet();
		
	}

	public static void main(String[]args){
		
		HashSet hs=new HashSet();
		
	}
	}
	
